/*
 * @Description: 资源管理
 * @Author: hanbenpao(admin@qianghan.xyz)
 * @Date: 2021-09-26 18:22:21
 * @LastEditTime: 2021-09-29 20:45:40
 */
import axios from '@/utils/axios'

/**
 * @description: 列表
 */
export const resourceList = data =>
  axios.request({
    url: '/resourceList',
    method: 'get',
    params: data
  })

/**
 * @description: 添加资源
 */
export const resourceAddApi = data =>
  axios.request({
    url: '/addResource',
    method: 'post',
    data
  })
